<extend name="Layout/ins_page" />
   
<block name="content">

 <link href="/sap/demo.css" rel="stylesheet" type="text/css" />
    <script src="/sap/scripts/boot.js" type="text/javascript"></script>
<form method="post" name="form_adv_search" id="form_adv_search">

	<div class="adv_search panel panel-default " id="adv_search">
	
		<!--<div class="panel-heading">
			<div class="row">
				<h4 class="col-xs-6">搜索</h4>
				<div class="col-xs-6 text-right">
					<a  class="btn btn-sm btn-info" onclick="submit_adv_search();">搜索</a>
				</div>
			</div>
		</div>-->
		<div class="panel-body">
        
        
        
        <div class="form-group col-sm-6">
					<label class="col-sm-4 control-label" for="li_name">订单号：</label>
					<div class="col-sm-8">
						<input class="form-control" type="text" id="order_code" name="order_code">
					</div>
		</div>
                    
		<div class="form-group col-sm-6">
				<label class="col-sm-4 control-label" for="type">状态：</label>
				<div class="col-sm-8">
					<select class="form-control" name="eq_type">
                        <option value="0"> 请选择要反馈的状态</option>
						<option value="30" <?php if($status==30){ echo "selected='selected'";}?> >已发货取消（30）</option>
						<option value="65" <?php if($status==65){ echo "selected='selected'";}?> > 退货失败（65）</option>
						<option value="70"<?php if($status==70){ echo "selected='selected'";}?> >已退回（70）</option>
					</select>
				</div>
				
				
				
			</div>
			
			
			<div class="form-group col-sm-6">
					<label class="col-sm-4 control-label" for="li_name">备注：</label>
					<div class="col-sm-8">
						<input class="form-control" type="text" id="remark" name="remark">
					</div>
		    </div>
            
            
            <div class="row">
				<h4 class="col-xs-6"></h4>
				<div class="col-xs-6 text-right">
                    <a   onclick="search_order()">保存</a>
					<a   onclick="save_order_status()">搜索</a>
				</div>
			</div></div>
	</div>


</form>


<script type="text/javascript">
					function search_order()
					{
						var order_sn=$('input[name="order_code"]').val();
						var remark=$('input[name="remark"]').val();
						if(order_sn.length<1)
						{
							alert('请输入订单号');
							return false;
						}
						$.ajax({
                           url: '/index.php?m=&c=Order&a=editingboc365orderstatus',
                           type:"post",
		                   async:false,
		                   dataType:"text",
		                   data:{order_sn: order_sn},
		                   success:function(data){
                          }
                       }); 
						
						
					}
					
					function save_order_status()
					{
						
						
					}

 </script>
</block>

  

